﻿/*  ----------------------------------------------------------------------------
 *  DES-Release 2
 *  ----------------------------------------------------------------------------
 *  File:       DESServerInfo.cs
 *  Author:     nitinkoshy@gmail.com
 *  Source:     http://des.codeplex.com/
 *  ----------------------------------------------------------------------------
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DES.Server.Service
{
    [DataContract]
    public class DESServerInfo
    {
        private string _Id;
        private string _endPoint;

        public DESServerInfo(string id, string endPoint)
        {
            _Id = id;
            _endPoint = endPoint;
        }

        [DataMember]
        public string Id
        {
            get
            {
                return _Id;
            }

            set
            {
                _Id = value;
            }
        }

        [DataMember]
        public string EndPoint
        {
            get
            {
                return _endPoint;
            }

            set
            {
                _endPoint = value;
            }

        }
    }
}
